package com.rf.business.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class CarArchivesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CarArchivesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andArchiveNoIsNull() {
            addCriterion("ARCHIVE_NO is null");
            return (Criteria) this;
        }

        public Criteria andArchiveNoIsNotNull() {
            addCriterion("ARCHIVE_NO is not null");
            return (Criteria) this;
        }

        public Criteria andArchiveNoEqualTo(String value) {
            addCriterion("ARCHIVE_NO =", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoNotEqualTo(String value) {
            addCriterion("ARCHIVE_NO <>", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoGreaterThan(String value) {
            addCriterion("ARCHIVE_NO >", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoGreaterThanOrEqualTo(String value) {
            addCriterion("ARCHIVE_NO >=", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoLessThan(String value) {
            addCriterion("ARCHIVE_NO <", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoLessThanOrEqualTo(String value) {
            addCriterion("ARCHIVE_NO <=", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoLike(String value) {
            addCriterion("ARCHIVE_NO like", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoNotLike(String value) {
            addCriterion("ARCHIVE_NO not like", value, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoIn(List<String> values) {
            addCriterion("ARCHIVE_NO in", values, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoNotIn(List<String> values) {
            addCriterion("ARCHIVE_NO not in", values, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoBetween(String value1, String value2) {
            addCriterion("ARCHIVE_NO between", value1, value2, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andArchiveNoNotBetween(String value1, String value2) {
            addCriterion("ARCHIVE_NO not between", value1, value2, "archiveNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoIsNull() {
            addCriterion("SERIAL_NO is null");
            return (Criteria) this;
        }

        public Criteria andSerialNoIsNotNull() {
            addCriterion("SERIAL_NO is not null");
            return (Criteria) this;
        }

        public Criteria andSerialNoEqualTo(String value) {
            addCriterion("SERIAL_NO =", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoNotEqualTo(String value) {
            addCriterion("SERIAL_NO <>", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoGreaterThan(String value) {
            addCriterion("SERIAL_NO >", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoGreaterThanOrEqualTo(String value) {
            addCriterion("SERIAL_NO >=", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoLessThan(String value) {
            addCriterion("SERIAL_NO <", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoLessThanOrEqualTo(String value) {
            addCriterion("SERIAL_NO <=", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoLike(String value) {
            addCriterion("SERIAL_NO like", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoNotLike(String value) {
            addCriterion("SERIAL_NO not like", value, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoIn(List<String> values) {
            addCriterion("SERIAL_NO in", values, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoNotIn(List<String> values) {
            addCriterion("SERIAL_NO not in", values, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoBetween(String value1, String value2) {
            addCriterion("SERIAL_NO between", value1, value2, "serialNo");
            return (Criteria) this;
        }

        public Criteria andSerialNoNotBetween(String value1, String value2) {
            addCriterion("SERIAL_NO not between", value1, value2, "serialNo");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdIsNull() {
            addCriterion("VEHICLE_IMPORT_ID is null");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdIsNotNull() {
            addCriterion("VEHICLE_IMPORT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdEqualTo(String value) {
            addCriterion("VEHICLE_IMPORT_ID =", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdNotEqualTo(String value) {
            addCriterion("VEHICLE_IMPORT_ID <>", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdGreaterThan(String value) {
            addCriterion("VEHICLE_IMPORT_ID >", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdGreaterThanOrEqualTo(String value) {
            addCriterion("VEHICLE_IMPORT_ID >=", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdLessThan(String value) {
            addCriterion("VEHICLE_IMPORT_ID <", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdLessThanOrEqualTo(String value) {
            addCriterion("VEHICLE_IMPORT_ID <=", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdLike(String value) {
            addCriterion("VEHICLE_IMPORT_ID like", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdNotLike(String value) {
            addCriterion("VEHICLE_IMPORT_ID not like", value, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdIn(List<String> values) {
            addCriterion("VEHICLE_IMPORT_ID in", values, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdNotIn(List<String> values) {
            addCriterion("VEHICLE_IMPORT_ID not in", values, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdBetween(String value1, String value2) {
            addCriterion("VEHICLE_IMPORT_ID between", value1, value2, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andVehicleImportIdNotBetween(String value1, String value2) {
            addCriterion("VEHICLE_IMPORT_ID not between", value1, value2, "vehicleImportId");
            return (Criteria) this;
        }

        public Criteria andCarNoIsNull() {
            addCriterion("CAR_NO is null");
            return (Criteria) this;
        }

        public Criteria andCarNoIsNotNull() {
            addCriterion("CAR_NO is not null");
            return (Criteria) this;
        }

        public Criteria andCarNoEqualTo(String value) {
            addCriterion("CAR_NO =", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotEqualTo(String value) {
            addCriterion("CAR_NO <>", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoGreaterThan(String value) {
            addCriterion("CAR_NO >", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_NO >=", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLessThan(String value) {
            addCriterion("CAR_NO <", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLessThanOrEqualTo(String value) {
            addCriterion("CAR_NO <=", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLike(String value) {
            addCriterion("CAR_NO like", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotLike(String value) {
            addCriterion("CAR_NO not like", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoIn(List<String> values) {
            addCriterion("CAR_NO in", values, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotIn(List<String> values) {
            addCriterion("CAR_NO not in", values, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoBetween(String value1, String value2) {
            addCriterion("CAR_NO between", value1, value2, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotBetween(String value1, String value2) {
            addCriterion("CAR_NO not between", value1, value2, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarModelIsNull() {
            addCriterion("CAR_MODEL is null");
            return (Criteria) this;
        }

        public Criteria andCarModelIsNotNull() {
            addCriterion("CAR_MODEL is not null");
            return (Criteria) this;
        }

        public Criteria andCarModelEqualTo(String value) {
            addCriterion("CAR_MODEL =", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotEqualTo(String value) {
            addCriterion("CAR_MODEL <>", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelGreaterThan(String value) {
            addCriterion("CAR_MODEL >", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_MODEL >=", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelLessThan(String value) {
            addCriterion("CAR_MODEL <", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelLessThanOrEqualTo(String value) {
            addCriterion("CAR_MODEL <=", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelLike(String value) {
            addCriterion("CAR_MODEL like", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotLike(String value) {
            addCriterion("CAR_MODEL not like", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelIn(List<String> values) {
            addCriterion("CAR_MODEL in", values, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotIn(List<String> values) {
            addCriterion("CAR_MODEL not in", values, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelBetween(String value1, String value2) {
            addCriterion("CAR_MODEL between", value1, value2, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotBetween(String value1, String value2) {
            addCriterion("CAR_MODEL not between", value1, value2, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarColorIsNull() {
            addCriterion("CAR_COLOR is null");
            return (Criteria) this;
        }

        public Criteria andCarColorIsNotNull() {
            addCriterion("CAR_COLOR is not null");
            return (Criteria) this;
        }

        public Criteria andCarColorEqualTo(String value) {
            addCriterion("CAR_COLOR =", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorNotEqualTo(String value) {
            addCriterion("CAR_COLOR <>", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorGreaterThan(String value) {
            addCriterion("CAR_COLOR >", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_COLOR >=", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorLessThan(String value) {
            addCriterion("CAR_COLOR <", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorLessThanOrEqualTo(String value) {
            addCriterion("CAR_COLOR <=", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorLike(String value) {
            addCriterion("CAR_COLOR like", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorNotLike(String value) {
            addCriterion("CAR_COLOR not like", value, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorIn(List<String> values) {
            addCriterion("CAR_COLOR in", values, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorNotIn(List<String> values) {
            addCriterion("CAR_COLOR not in", values, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorBetween(String value1, String value2) {
            addCriterion("CAR_COLOR between", value1, value2, "carColor");
            return (Criteria) this;
        }

        public Criteria andCarColorNotBetween(String value1, String value2) {
            addCriterion("CAR_COLOR not between", value1, value2, "carColor");
            return (Criteria) this;
        }

        public Criteria andEngineNoIsNull() {
            addCriterion("ENGINE_NO is null");
            return (Criteria) this;
        }

        public Criteria andEngineNoIsNotNull() {
            addCriterion("ENGINE_NO is not null");
            return (Criteria) this;
        }

        public Criteria andEngineNoEqualTo(String value) {
            addCriterion("ENGINE_NO =", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotEqualTo(String value) {
            addCriterion("ENGINE_NO <>", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoGreaterThan(String value) {
            addCriterion("ENGINE_NO >", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoGreaterThanOrEqualTo(String value) {
            addCriterion("ENGINE_NO >=", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoLessThan(String value) {
            addCriterion("ENGINE_NO <", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoLessThanOrEqualTo(String value) {
            addCriterion("ENGINE_NO <=", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoLike(String value) {
            addCriterion("ENGINE_NO like", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotLike(String value) {
            addCriterion("ENGINE_NO not like", value, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoIn(List<String> values) {
            addCriterion("ENGINE_NO in", values, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotIn(List<String> values) {
            addCriterion("ENGINE_NO not in", values, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoBetween(String value1, String value2) {
            addCriterion("ENGINE_NO between", value1, value2, "engineNo");
            return (Criteria) this;
        }

        public Criteria andEngineNoNotBetween(String value1, String value2) {
            addCriterion("ENGINE_NO not between", value1, value2, "engineNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoIsNull() {
            addCriterion("CAR_FRAME_NO is null");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoIsNotNull() {
            addCriterion("CAR_FRAME_NO is not null");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoEqualTo(String value) {
            addCriterion("CAR_FRAME_NO =", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoNotEqualTo(String value) {
            addCriterion("CAR_FRAME_NO <>", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoGreaterThan(String value) {
            addCriterion("CAR_FRAME_NO >", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_FRAME_NO >=", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoLessThan(String value) {
            addCriterion("CAR_FRAME_NO <", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoLessThanOrEqualTo(String value) {
            addCriterion("CAR_FRAME_NO <=", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoLike(String value) {
            addCriterion("CAR_FRAME_NO like", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoNotLike(String value) {
            addCriterion("CAR_FRAME_NO not like", value, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoIn(List<String> values) {
            addCriterion("CAR_FRAME_NO in", values, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoNotIn(List<String> values) {
            addCriterion("CAR_FRAME_NO not in", values, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoBetween(String value1, String value2) {
            addCriterion("CAR_FRAME_NO between", value1, value2, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andCarFrameNoNotBetween(String value1, String value2) {
            addCriterion("CAR_FRAME_NO not between", value1, value2, "carFrameNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoIsNull() {
            addCriterion("CHASSIS_NO is null");
            return (Criteria) this;
        }

        public Criteria andChassisNoIsNotNull() {
            addCriterion("CHASSIS_NO is not null");
            return (Criteria) this;
        }

        public Criteria andChassisNoEqualTo(String value) {
            addCriterion("CHASSIS_NO =", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoNotEqualTo(String value) {
            addCriterion("CHASSIS_NO <>", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoGreaterThan(String value) {
            addCriterion("CHASSIS_NO >", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoGreaterThanOrEqualTo(String value) {
            addCriterion("CHASSIS_NO >=", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoLessThan(String value) {
            addCriterion("CHASSIS_NO <", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoLessThanOrEqualTo(String value) {
            addCriterion("CHASSIS_NO <=", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoLike(String value) {
            addCriterion("CHASSIS_NO like", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoNotLike(String value) {
            addCriterion("CHASSIS_NO not like", value, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoIn(List<String> values) {
            addCriterion("CHASSIS_NO in", values, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoNotIn(List<String> values) {
            addCriterion("CHASSIS_NO not in", values, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoBetween(String value1, String value2) {
            addCriterion("CHASSIS_NO between", value1, value2, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andChassisNoNotBetween(String value1, String value2) {
            addCriterion("CHASSIS_NO not between", value1, value2, "chassisNo");
            return (Criteria) this;
        }

        public Criteria andOriginCountryIsNull() {
            addCriterion("ORIGIN_COUNTRY is null");
            return (Criteria) this;
        }

        public Criteria andOriginCountryIsNotNull() {
            addCriterion("ORIGIN_COUNTRY is not null");
            return (Criteria) this;
        }

        public Criteria andOriginCountryEqualTo(String value) {
            addCriterion("ORIGIN_COUNTRY =", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryNotEqualTo(String value) {
            addCriterion("ORIGIN_COUNTRY <>", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryGreaterThan(String value) {
            addCriterion("ORIGIN_COUNTRY >", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGIN_COUNTRY >=", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryLessThan(String value) {
            addCriterion("ORIGIN_COUNTRY <", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryLessThanOrEqualTo(String value) {
            addCriterion("ORIGIN_COUNTRY <=", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryLike(String value) {
            addCriterion("ORIGIN_COUNTRY like", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryNotLike(String value) {
            addCriterion("ORIGIN_COUNTRY not like", value, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryIn(List<String> values) {
            addCriterion("ORIGIN_COUNTRY in", values, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryNotIn(List<String> values) {
            addCriterion("ORIGIN_COUNTRY not in", values, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryBetween(String value1, String value2) {
            addCriterion("ORIGIN_COUNTRY between", value1, value2, "originCountry");
            return (Criteria) this;
        }

        public Criteria andOriginCountryNotBetween(String value1, String value2) {
            addCriterion("ORIGIN_COUNTRY not between", value1, value2, "originCountry");
            return (Criteria) this;
        }

        public Criteria andCarNationalityIsNull() {
            addCriterion("CAR_NATIONALITY is null");
            return (Criteria) this;
        }

        public Criteria andCarNationalityIsNotNull() {
            addCriterion("CAR_NATIONALITY is not null");
            return (Criteria) this;
        }

        public Criteria andCarNationalityEqualTo(String value) {
            addCriterion("CAR_NATIONALITY =", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityNotEqualTo(String value) {
            addCriterion("CAR_NATIONALITY <>", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityGreaterThan(String value) {
            addCriterion("CAR_NATIONALITY >", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_NATIONALITY >=", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityLessThan(String value) {
            addCriterion("CAR_NATIONALITY <", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityLessThanOrEqualTo(String value) {
            addCriterion("CAR_NATIONALITY <=", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityLike(String value) {
            addCriterion("CAR_NATIONALITY like", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityNotLike(String value) {
            addCriterion("CAR_NATIONALITY not like", value, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityIn(List<String> values) {
            addCriterion("CAR_NATIONALITY in", values, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityNotIn(List<String> values) {
            addCriterion("CAR_NATIONALITY not in", values, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityBetween(String value1, String value2) {
            addCriterion("CAR_NATIONALITY between", value1, value2, "carNationality");
            return (Criteria) this;
        }

        public Criteria andCarNationalityNotBetween(String value1, String value2) {
            addCriterion("CAR_NATIONALITY not between", value1, value2, "carNationality");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeIsNull() {
            addCriterion("PRODECED_TIME is null");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeIsNotNull() {
            addCriterion("PRODECED_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeEqualTo(Date value) {
            addCriterionForJDBCDate("PRODECED_TIME =", value, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("PRODECED_TIME <>", value, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("PRODECED_TIME >", value, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("PRODECED_TIME >=", value, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeLessThan(Date value) {
            addCriterionForJDBCDate("PRODECED_TIME <", value, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("PRODECED_TIME <=", value, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeIn(List<Date> values) {
            addCriterionForJDBCDate("PRODECED_TIME in", values, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("PRODECED_TIME not in", values, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("PRODECED_TIME between", value1, value2, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andProdecedTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("PRODECED_TIME not between", value1, value2, "prodecedTime");
            return (Criteria) this;
        }

        public Criteria andCarOwnerIsNull() {
            addCriterion("CAR_OWNER is null");
            return (Criteria) this;
        }

        public Criteria andCarOwnerIsNotNull() {
            addCriterion("CAR_OWNER is not null");
            return (Criteria) this;
        }

        public Criteria andCarOwnerEqualTo(String value) {
            addCriterion("CAR_OWNER =", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerNotEqualTo(String value) {
            addCriterion("CAR_OWNER <>", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerGreaterThan(String value) {
            addCriterion("CAR_OWNER >", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_OWNER >=", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerLessThan(String value) {
            addCriterion("CAR_OWNER <", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerLessThanOrEqualTo(String value) {
            addCriterion("CAR_OWNER <=", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerLike(String value) {
            addCriterion("CAR_OWNER like", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerNotLike(String value) {
            addCriterion("CAR_OWNER not like", value, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerIn(List<String> values) {
            addCriterion("CAR_OWNER in", values, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerNotIn(List<String> values) {
            addCriterion("CAR_OWNER not in", values, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerBetween(String value1, String value2) {
            addCriterion("CAR_OWNER between", value1, value2, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerNotBetween(String value1, String value2) {
            addCriterion("CAR_OWNER not between", value1, value2, "carOwner");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelIsNull() {
            addCriterion("CAR_OWNER_TEL is null");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelIsNotNull() {
            addCriterion("CAR_OWNER_TEL is not null");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelEqualTo(String value) {
            addCriterion("CAR_OWNER_TEL =", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelNotEqualTo(String value) {
            addCriterion("CAR_OWNER_TEL <>", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelGreaterThan(String value) {
            addCriterion("CAR_OWNER_TEL >", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_OWNER_TEL >=", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelLessThan(String value) {
            addCriterion("CAR_OWNER_TEL <", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelLessThanOrEqualTo(String value) {
            addCriterion("CAR_OWNER_TEL <=", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelLike(String value) {
            addCriterion("CAR_OWNER_TEL like", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelNotLike(String value) {
            addCriterion("CAR_OWNER_TEL not like", value, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelIn(List<String> values) {
            addCriterion("CAR_OWNER_TEL in", values, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelNotIn(List<String> values) {
            addCriterion("CAR_OWNER_TEL not in", values, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelBetween(String value1, String value2) {
            addCriterion("CAR_OWNER_TEL between", value1, value2, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerTelNotBetween(String value1, String value2) {
            addCriterion("CAR_OWNER_TEL not between", value1, value2, "carOwnerTel");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressIsNull() {
            addCriterion("CAR_OWNER_ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressIsNotNull() {
            addCriterion("CAR_OWNER_ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressEqualTo(String value) {
            addCriterion("CAR_OWNER_ADDRESS =", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressNotEqualTo(String value) {
            addCriterion("CAR_OWNER_ADDRESS <>", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressGreaterThan(String value) {
            addCriterion("CAR_OWNER_ADDRESS >", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_OWNER_ADDRESS >=", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressLessThan(String value) {
            addCriterion("CAR_OWNER_ADDRESS <", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressLessThanOrEqualTo(String value) {
            addCriterion("CAR_OWNER_ADDRESS <=", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressLike(String value) {
            addCriterion("CAR_OWNER_ADDRESS like", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressNotLike(String value) {
            addCriterion("CAR_OWNER_ADDRESS not like", value, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressIn(List<String> values) {
            addCriterion("CAR_OWNER_ADDRESS in", values, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressNotIn(List<String> values) {
            addCriterion("CAR_OWNER_ADDRESS not in", values, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressBetween(String value1, String value2) {
            addCriterion("CAR_OWNER_ADDRESS between", value1, value2, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarOwnerAddressNotBetween(String value1, String value2) {
            addCriterion("CAR_OWNER_ADDRESS not between", value1, value2, "carOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeIsNull() {
            addCriterion("CAR_USE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeIsNotNull() {
            addCriterion("CAR_USE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeEqualTo(String value) {
            addCriterion("CAR_USE_TYPE =", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeNotEqualTo(String value) {
            addCriterion("CAR_USE_TYPE <>", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeGreaterThan(String value) {
            addCriterion("CAR_USE_TYPE >", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_USE_TYPE >=", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeLessThan(String value) {
            addCriterion("CAR_USE_TYPE <", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeLessThanOrEqualTo(String value) {
            addCriterion("CAR_USE_TYPE <=", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeLike(String value) {
            addCriterion("CAR_USE_TYPE like", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeNotLike(String value) {
            addCriterion("CAR_USE_TYPE not like", value, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeIn(List<String> values) {
            addCriterion("CAR_USE_TYPE in", values, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeNotIn(List<String> values) {
            addCriterion("CAR_USE_TYPE not in", values, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeBetween(String value1, String value2) {
            addCriterion("CAR_USE_TYPE between", value1, value2, "carUseType");
            return (Criteria) this;
        }

        public Criteria andCarUseTypeNotBetween(String value1, String value2) {
            addCriterion("CAR_USE_TYPE not between", value1, value2, "carUseType");
            return (Criteria) this;
        }

        public Criteria andBeginDateIsNull() {
            addCriterion("BEGIN_DATE is null");
            return (Criteria) this;
        }

        public Criteria andBeginDateIsNotNull() {
            addCriterion("BEGIN_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andBeginDateEqualTo(Date value) {
            addCriterionForJDBCDate("BEGIN_DATE =", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("BEGIN_DATE <>", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateGreaterThan(Date value) {
            addCriterionForJDBCDate("BEGIN_DATE >", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BEGIN_DATE >=", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateLessThan(Date value) {
            addCriterionForJDBCDate("BEGIN_DATE <", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BEGIN_DATE <=", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateIn(List<Date> values) {
            addCriterionForJDBCDate("BEGIN_DATE in", values, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("BEGIN_DATE not in", values, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BEGIN_DATE between", value1, value2, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BEGIN_DATE not between", value1, value2, "beginDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("END_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("END_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterionForJDBCDate("END_DATE =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("END_DATE <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterionForJDBCDate("END_DATE >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("END_DATE >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterionForJDBCDate("END_DATE <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("END_DATE <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterionForJDBCDate("END_DATE in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("END_DATE not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("END_DATE between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("END_DATE not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("STATE is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("STATE like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("STATE not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("STATE in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between", value1, value2, "state");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}